-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: use platform/runtime plugin components #2431
Draft
edoardo
wants to merge
31
commits into
master
Choose a base branch
from
refactor/use-platform-plugin-components
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edoardo
force-pushed
the
refactor/use-platform-plugin-components
branch
from
June 22, 2023 07:52
435147b
to
3091fdd
Compare
🚀 Deployed on https://pr-2431--dhis2-dashboard.netlify.app |
jenniferarnesen
force-pushed
the
dev
branch
from
September 12, 2023 08:05
e63aff9
to
35877e1
Compare
edoardo
force-pushed
the
refactor/use-platform-plugin-components
branch
from
October 9, 2023 08:47
96c2efc
to
4edc634
Compare
jenniferarnesen
force-pushed
the
dev
branch
2 times, most recently
from
March 19, 2024 14:10
b919316
to
7f603d6
Compare
edoardo
force-pushed
the
refactor/use-platform-plugin-components
branch
from
May 24, 2024 13:37
4edc634
to
35e3fc4
Compare
edoardo
force-pushed
the
refactor/use-platform-plugin-components
branch
from
May 27, 2024 13:41
35e3fc4
to
75857e8
Compare
edoardo
force-pushed
the
refactor/use-platform-plugin-components
branch
from
June 4, 2024 13:52
75857e8
to
abb9749
Compare
edoardo
force-pushed
the
refactor/use-platform-plugin-components
branch
from
June 6, 2024 13:07
abb9749
to
2673f06
Compare
edoardo
force-pushed
the
refactor/use-platform-plugin-components
branch
from
July 1, 2024 14:13
34809de
to
92cea63
Compare
@@ -3,14 +3,17 @@ | |||
exports[`ContentMenuItem has a LaunchLink when url is provided 1`] = ` | |||
<div> | |||
<li | |||
class="jsx-1930534478 " | |||
class="jsx-3192368000 " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this test needs to be changed so we don't get these diffs when the ui version is upgraded.
This silences warnings in the console.
Link is rendering an a tag, and MenuItem does the same. Use a redirect on click instead (already done in the print submenu)
This hopefully has a better solution.
It should be enough to just use isParentCached for knowing when to start recording and removing the cache in the plugins.
This should fix some issues with plugin content not being visible.
This is to avoid the error boundary to show up for uncaught errors (failed to fetch a visualization) which interferes with Cypress testing.
edoardo
force-pushed
the
refactor/use-platform-plugin-components
branch
from
August 2, 2024 13:44
7e97897
to
5c40e73
Compare
…rm-plugin-components
This is needed as the new plugin system is used, because the messages used in the communication have changed.
…rm-plugin-components
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes DHIS2-17268
Relates to dhis2/data-visualizer-app#3082
Relates to dhis2/line-listing-app#396
Relates to dhis2/maps-app#3232
Key features
app-runtime
Description
Generic components for plugins are available in
app-platform
andapp-runtime
.This PR is removing the original iframe plugin with the message handling that has been "moved" to the platform.
All analytics apps have a correspondent PR for using the platform plugin build with embedded message handling.
Cypress started to fail in >=41 because the login mechanism changed.
Dashboard is still using v6.9.1 of Cypress which prevents us from upgrading
cli-utils-cypress
to a recent version with support for the new login.The temporary solution is to add a custom login command which accommodates login for all DHIS2 versions.
TODO
removeCachedData
message to the plugin without re-renderingrecordOnNextLoad
to avoid multiple recordingsKnown issues
Screenshots